package com.qf.Dao;

import com.qf.entity.SysNotice;

import java.sql.SQLException;
import java.util.List;

public interface InformDao {
    //查询全部
    List<SysNotice> selectNotice(int id) throws SQLException;

    //删除通知
    int deleteNotice(String title) throws SQLException;

    //添加通知
    int addNotice(SysNotice sysNotice) throws SQLException;

    //修改通知
    int updateNotice(SysNotice sysNotice) throws SQLException;

}
